package http

type PtsReq struct {
	Method      string
	Url         string
	Users       int32
	RequestNum  int32
	RequestBody string
	ContentType string
}

type PtsResp struct {
	TotalMillisTime int64           `json:"totalMillisTime"`
	StartTime       int64           `json:"startTime"`
	EndTime         int64           `json:"endTime"`
	AvgTime         int64           `json:"avgTime"`
	_99Time         int64           `json:"_99Time"`
	_90Time         int64           `json:"_90Time"`
	_50Time         int64           `json:"_50Time"`
	Details         []RequestDetail `json:"details"`
}

type RequestDetail struct {
	Url                string `json:"url"`
	StartTime          int64  `json:"startTime"`
	EndTime            int64  `json:"endTime"`
	CostTime           int64  `json:"costTime"`
	ResponseStatusCode string `json:"responseStatusCode"`
}
